package com.lagou.edu.blog.service;

import com.lagou.edu.blog.pojo.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

/**
 * @ProjectName: s1-4
 * @Title: ArticleService
 * @Package: com.lagou.edu.blog.service
 * @Description: Article Service
 * @author: Ian
 * @date: 27/12/2020 9:08 PM
 * @version: V1.0.0
 */
public interface IArticleService {

    /**
     * 分页查询文章列表
     *
     * @param pageable
     * @return 返回  Page<Article>
     */
    Page<Article> findAll(Pageable pageable);
}
